<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8"%>
<%@taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>
<%@taglib uri="http://java.sun.com/jsp/jstl/fmt" prefix="f"%>
<%@ taglib uri="/WEB-INF/tld/tag.tld" prefix="my"%>
<!DOCTYPE html PUBLIC>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<link href="/three/static/assets/css/bootstrap.css" rel="stylesheet" />
<link href="/three/static/assets/css/style.css" rel="stylesheet" />
<link rel="stylesheet" type="text/css"
	href="/three/static/h-ui/css/H-ui.min.css" />
<link rel="stylesheet" type="text/css"
	href="/three/static/h-ui.admin/css/H-ui.admin.css" />
<link rel="stylesheet" type="text/css"
	href="/three/lib/Hui-iconfont/1.0.8/iconfont.css" />
<title>首页</title>
</head>
<body style='overflow: -Scroll; overflow-y: hidden'>
	<div class="navbar navbar-inverse set-radius-zero">
		<div class="container">
			<div class="navbar-header">
				<img src="/three/static/assets/img/logo.png" />
			</div>
			<div class="right-div">
				<a href="/three/shopuser/insert" class="btn btn-danger pull-right">退出</a>
			</div>
		</div>
	</div>
	<section class="menu-section">
		<div class="container">
			<div class="row ">
				<div class="col-md-12">
					<div class="navbar-collapse collapse "></div>
				</div>
			</div>
		</div>
	</section>
	<div>
		欢迎您,${shopUser.username }!<br> 姓名: ${shopUser.username } <br>
		账号:${shopUser.account }<br> 身份:
		<my:getPostName postCode="${shopUser.shopUserId }"></my:getPostName>
		<br>
		<div class="cl pd-5 bg-1 bk-gray mt-20">
     <span class="l"><font color="blue"><b>店铺列表</b></font></span>
		<span class="r">共有数据:<strong><font color="red">${shopList.size()}</font></strong>条</span>
	</div>
		<div>
			<table
				class="table table-border table-bordered table-hover table-bg table-sort">
				<thead>
					<tr class="text-c">
						<th width="80">店铺二维码</th>
						<th width="80">店铺编号</th>
						<th width="80">店铺简称</th>
						<th width="80">营业额</th>
						<th width="80">营业记录数</th>
						<th width="80">新增客户数</th>
						<th width="80">本月营业额</th>
						<th width="80">本月目标额</th>
						<th width="80">操作</th>
					</tr>
				</thead>
				<tbody>
					<c:forEach items="${shopList }" var="shopList">
						<tr class="text-c">
							<td style="text-align: center;"><img width="80" height="60"
								src="http://localhost:8080/three${shopList.shop_qrcode }"></td>
							<td style="text-align: center;">${shopList.shop_id }</td>
							<td style="text-align: center;">${shopList.short_name }</td>
							<td style="text-align: center;">今天:${shopList.today_money }<br>昨天:${shopList.yes_money }
							</td>
							<td style="text-align: center;">今天:${shopList.today_count }<br>昨天:${shopList.yes_count }
							</td>
							<td style="text-align: center;">今天:${shopList.today_addCust }<br>昨天:${shopList.addCust }
							</td>
							<td style="text-align: center;">${shopList.monthNum }</td>
							<td style="text-align: center;">${shopList.month_cash_in }</td>
							<td style="text-align: center;"><a
								class="btn btn-primary radius"
								href="/three/shopuser/queryshop?shopid=${shopList.shop_id}"><i
									class="Hui-iconfont">&#xe62e;</i> 进入店铺</a></td>
						</tr>
					</c:forEach>
				</tbody>
			</table>
		</div>
	</div>
</body>
</html>